require 'tjplurker'
include TJP

robot = Robot.new(CONSUMER_KEY, CONSUMER_SECRETE, ACCESS_TOKEN, ACCESS_TOKEN_SECRET)

service_response = Service.new{|tjp, data|
	if tony_id == data.user_id
		case data.content
			when /早安/
				answer = "早安啊～"
			when /晚安/
				answer = "晚安，祝你有個好夢^^"
			when /作業/
				answer = "喔不，作業……"
		end
		tjp.response_add(data.plurk_id, answer)
	end
}

robot.add_service(service_response)
robot.start